package my.jbf.firstGame.Game;

import java.util.ArrayList;
import java.util.concurrent.LinkedTransferQueue;

import my.jbf.firstGame.GAMEDATA.Fight;
import my.jbf.firstGame.MODULE.RandomID;

public class FightData {
    private String FightID;
    private ArrayList<PlayerData> mALPlayerData;
    private ArrayList<BulletData> mALBulletData;
    private MapData mMapData;

    public FightData()
    {

        FightID=(new RandomID()).getRandomID("FIGHT",25);
    }
    public FightData(String FightID) {

        setFightID(FightID);
        init();
        //getFightID();
        //getMap();
        //getALLPlayerData;
        //getALLBulletData;


    }

    private void init()
    {
        mALBulletData=new ArrayList<>();
        mALPlayerData=new ArrayList<>();
        mMapData=new MapData();

    }
    public void createFightData()
    {
        setFightID(new RandomID().getRandomID("FIGHT",25));
        init();
        mMapData.createMapData();

    }
    public void setFightID(String id)
    {
        FightID=id;
    }
}
